
[#list loans as loan]


<div class="top_invest_wrap clearfix">
                <div class="i_invest i_invest_left ">
                    <div class="i_invest_left_container">
                        <div class="i_invest_left_tittle">
                            <span class="font1_18 color_222">${loan.name}</span>
                            <!--<span class="font1_18 color_222">${p2p_borrow_type(loan.loan_category)}</span>-->
                        </div>
                        <div class="i_invest_left_box">
                            <table class="homeTable">
                                <tbody><tr>
                                    <td><span class="font1_36 color_yellow">
                                        ${loan.apr}                               </span><span class="font1_14 color_yellow">%</span></td>
                                    <td><span class=" font1_36 color_222">${loan.time_limit}</span><span class="font1_14 color_222">[#if loan.is_day==1] 天 [#else]  个月 [/#if]</span>
                                    </td>
                                    <td><span class=" font1_36 color_222">${loan.account/10000}</span><span class="font1_14 color_222">万元</span></td>
                                    <td><span class="font1_18 color_222">${p2p_get_dict("borrow_style",loan.pay_style)}</span></td>
                                </tr>
                                <tr>
                                    <td><span class="font1_14 color_999">预期年化收益</span></td>
                                    <td><span class="font1_14 color_999">借款期限</span></td>
                                    <td><span class="font1_14 color_999">融资金额</span></td>
                                    <td><span class="font1_14 color_999">还款方式</span></td>
                                </tr>
                            </tbody></table>
                        </div>
                        <div class="i_invest_interest">
                                <span class="i_invest_interest_s s_rebate s_tips2">平台返利
                                <p class=""><i></i><b></b></p>
                                </span>
                                [#if loan.red_packet_status==1]
                                <span class="i_invest_interest_s s_luckmoney s_tips2">红包
                                    <p class=""><i></i><b></b></p>
                                </span>
                                [/#if]

                        </div>
                    </div>

                    <div class="i_invest_flag">
                                            </div>
                </div>
                <div class="i_invest i_invest_right">
                    <div class="i_invest_right_box">
                                                    <div class="i_rbox">
                                <div class="i_rbox_seg">
                                    <span class="font1_14 color_222">剩余可投：${((loan.account-loan.amount_invested)/10000)}万元</span>
                                </div>
                                <a href="${path}/bid/detail/${loan.id}"> <div class="i_rbox_seg invest_liji" height: 40px; transition: height 1s; background-color: rgb(255, 255, 255); background-size: 100% 100%;">
                                    [#if loan.status>3]
                                    ${p2p_get_dict("borrow_status",loan.status)}
                                    [#elseif loan.status==3]
                                        立即抢购
                                    [#else]
                                        预发标中
                                    [/#if]
                                </div></a>
                            </div>
                        </div>
                </div>
            </div>








<!--<div class="invest_box">
    <h1>
        <span class="investLabel label label-success">  ${p2p_borrow_type(loan.loan_category)}</span>
        <a class="del" href="/bid/detail/${loan.id}">${loan.name}</a>
        <font></font></h1>
    <div class="invest_box_Info">
        <div class="fleft">
            <div class="prize">
                <span>借款金额<b><em>￥</em>${loan.account/10000}万</b></span>
                <font>年利率<b>${loan.apr}<em>%</em></b></font>
            </div>
            <div class="text">
                借款期限：${loan.time_limit} [#if loan.is_day==1] 天 [#else]  个月 [/#if]<br>
                还款方式： ${p2p_get_dict("borrow_style",loan.pay_style)}<br>
                奖励： [#if loan.radio_account gt 0]
            ${loan.radio_account}%
            [#else]
                无
            [/#if]<br>
            </div>
            <div class="percent_big">
                <div class="progress">
                    <span> ${(loan.amount_invested/loan.account*100)?string("#.##")}% </span>
                </div>
            </div>
            <div class="text2" id="font">
                <div align="center"><a class="btnCast"href="/bid/detail/${loan.id}">  [#if loan.status>3]
                ${p2p_get_dict("borrow_status",loan.status)}
                [#elseif loan.status==3]
                    立即抢购
                [#else]

                    发布时间:${p2p_date_format(loan.nd_verify_time,"yyyy-MM-dd hh:mm:ss")}
                [/#if]
                </a></div>
            </div>
        </div>
    </div>
</div>-->
[/#list]
<script>
    /*延迟加载*/
    (function () {

        plan();//加载进度条

    })();
    //进度条
    function plan(){
        $(".progress:not([done='done'])").each(function () {
            var _this = $(this).attr("done", "done");
            _this.progress({stroke_bg: "#DD8403", loop: "#DD8403", stroke_width: 2 });
        });
    }
</script>